<template>
    <panel :class="$style.panel" title="轮播图">
        <section :class="$style.content">
            <slider :items="items" :cname="$style.mslider"></slider>
        </section>
    </panel>
</template>

<script>
import Panel from '../core/panel.vue'
import slider from '../core/slider.vue'
export default {
    components: {
        Panel,
        slider
    },
    data() {
        return {
            items: [
                /*{
                    href: 'Home',
                    src: '//img12.360buyimg.com/jrpmobile/jfs/t1/10297/24/14008/46685/5c862b47Eef810b58/30b8c5430103352a.jpg?width=750&height=320'
                },
                {
                    href: 'Home',
                    src: '//img12.360buyimg.com/jrpmobile/jfs/t1/28576/40/10399/139307/5c862bc6E022a873e/c50fcefa58db30ce.jpg?width=750&height=320'
                },
                {
                    href: 'Home',
                    src: '//img12.360buyimg.com/jrpmobile/jfs/t1/28576/40/10399/139307/5c862bc6E022a873e/c50fcefa58db30ce.jpg?width=750&height=320'
                },*/
                {
                    href: "Home",
                    src: "//img12.360buyimg.com/jrpmobile/jfs/t11149/181/856008463/68797/dc303e9/59f97baeN3cdae084.jpg?width=750&height=400",
                },
                {
                    href: "Home",
                    src: "//img12.360buyimg.com/jrpmobile/jfs/t9994/205/2575467053/189117/125e7b05/59f97c36N7599be57.png?width=750&height=400",
                }
            ],
        }
    }
}
</script>

<style lang="scss" module>
    @import "../../css/element.scss";
    .panel{
        @include panel;
        &>h4{
            display: none;
        }
        .content{
            .mslider{
                margin-top: 120px;
            }
        }
    }
</style>